(function scriptBlock()
{
    var a = 1;
    var b = 2;
    var c = 3;
    var d = 4;
    var e = 5;
    var greatest = -1;

    if (a > greatest)
    {
        greatest = a;
    }

    if (b > greatest)
    {
        greatest = b;
    }

    if (c > greatest)
    {
        greatest = c;
    }

    if (d > greatest)
    {
        greatest = d;
    }

    if (e > greatest)
    {
        greatest = e;
    }

    console.log(greatest);
})();